using UnityEngine;
using System.Collections;

public class ResetZ : MonoBehaviour {

	void FixedUpdate(){
		transform.rigidbody.velocity = new Vector3(transform.rigidbody.velocity.x, transform.rigidbody.velocity.y, 0);//.zero;	
		transform.position = new Vector3(transform.position.x, transform.position.y, 0);
	}
}